package cn.sxgan.db.mappers;

import cn.sxgan.common.entity.SysRole;
import cn.sxgan.common.entity.query.SysRoleQuery;
import cn.sxgan.common.entity.vo.SysUserAndRoleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: 角色信息表映射mapper
 * @Author: sxgan sxgan@foxmail.com
 * @Date: 2024-09-13
 * @Version: 1.0.0
 **/
@Mapper
public interface ISysRoleMapper extends BaseMapper<SysRole> {
    
    List<SysRole> selectSysRoleByCondition(SysRoleQuery query);
    
    List<SysUserAndRoleVO> getSysRoleAndMenu();
    
    List<SysRole> selectRoles();
}